package com.lxp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxp.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author lxp
 * @Motto 每天一行小代码，健康幸福学JAVA：
 * @create 2022-08-22 18:58
 * @Description:
 */

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    @Select("select * from employee")
    List<Employee> getAll();
}
